package com.example.neusoft.a16110100126yttordering.model;


import com.example.neusoft.a16110100126yttordering.common.Constants;
import com.example.neusoft.a16110100126yttordering.listener.RetrofitListener;
import com.example.neusoft.a16110100126yttordering.service.ShopService;


import retrofit2.Call;

public class ShopModel extends RetrofitBaseModel {
    private ShopService shopService;
    public ShopModel(){
        this.shopService=retrofit.create(ShopService.class);
    }
    public void getAllShops(RetrofitListener listener){
        Call call=shopService.getAllShops();
        bindCallback(call,listener,Constants.GETALLSHOPS);
    }
}
